package com.useeinfo.oa.modules.inspection.enums;

/**
 * @Auther: xudong.sun
 * @Date: 2019/1/3 10:25
 * @Description:
 */
public enum InsOrderOperationEnum {

    CREATE_ORDER("CREATE_ORDER", "创建工单"),
    CREATE_PLANNER("CREATE_PLANNER","创建计划工单"),EDIT("EDIT","编辑"),IMPORT("IMPORT","导入"),
    EXPORT("EXPORT","导出"),DELETE("DELETE","删除"),ASSIGN_USER("ASSIGN_USER","指派人员"),ASSIGN_POSITION("ASSIGN_POSITION","指派岗位"),
    ASSIGN_DATE("ASSIGN_DATE","强制生成指定日实施单"),START("START","开始计划"),END("END","停止计划"),DESTROY("DESTROY","废弃计划"),END_DATE("END_DATE","设置截止日期"),
    RECEIVE_ORDER("RECEIVE_ORDER", "接单"),RRESENT_ORDER("RRESENT_ORDER", "到场"),TRANSFER("TRANSFER","转单"),AUDIT("AUDIT","审核"),
    REJECT("REJECT","驳回"),SUBMIT_ORDER("SUBMIT_ORDER","完成巡检工单"),TEMP_SUBMIT_ORDER("TEMP_SUBMIT_ORDER","临时保存"),
    CANCEL_ORDER("DELAY_ORDER", "取消工单"),DELAY_ORDER("DELAY_ORDER", "延期工单"),
    RELEASE_ORDER("RELEASE_ORDER", "发布工单"),WITHDRAW_ORDER("WITHDRAW_ORDER", "撤回工单");
    private String code;

    private String name;

    public String getCode() {
        return this.code;
    }

    public String getName() {
        return this.name;
    }

    InsOrderOperationEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }
}
